From 2946ea74d0a2c82961956e6ee240658bb378c405 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Mon, 22 Sep 2008 21:00:54 +0000 Subject: [PATCH] waypt: Check coordinates more aggressive within testo. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3540 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/waypt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index de4fa17e3..8e4c02b75 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -186,6 +186,10 @@ waypt_new(void) waypoint *wpt; wpt = (waypoint *) xcalloc(sizeof (*wpt), 1); +#ifdef DEBUG_MEM + wpt->altitude = unknown_alt; + wpt->longitude = unknown_alt; +#endif wpt->altitude = unknown_alt; wpt->fix = fix_unknown; wpt->sat = -1; -- 2.30.2